package com.xihua.sx.service;

import com.xihua.sx.pojo.EditPassword;
import com.xihua.sx.utils.ResponseMessage;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    /**
     * 登录
     * @param username
     * @param password
     * @return
     */
    ResponseMessage login(String username, String password);

    ResponseMessage editPassword(EditPassword editPassword);
    ResponseMessage registerUser(String username,String password);
}
